<?php
namespace App;

use App\Base;
use \MysqliDb;

class DB
{
    private static $db = null;

    public static function getInstance()
    {
        if (empty(self::$db)) {
            self::$db = new MysqliDb(Base::database_config);
        }
        return self::$db;
    }
}